<?php

it('may return a file path', function () {
    $file = fixture('phpunit-in-isolation.xml');

    expect($file)->toBeString()
        ->toBeFile();
});

it('may throw an exception if the file does not exist', function () {
    fixture('file-that-does-not-exist.php');
})->throws(InvalidArgumentException::class);
